<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<% String basePath = request.getContextPath(); %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>个人信息</title>
		<link rel="stylesheet" href="<%=basePath%>/resources/assets/css/amazeui.css" />
		  <%-- <link rel="stylesheet" href="<%=basePath%>/resources/assets/css/app.css"> --%>
		<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
		<link rel="stylesheet" href="<%=basePath%>/resources/assets/css/core.css" />
		<link rel="stylesheet" href="<%=basePath%>/resources/assets/css/menu.css" />
		<link rel="stylesheet" href="<%=basePath%>/resources/assets/css/index.css" />
		<link rel="stylesheet" href="<%=basePath%>/resources/assets/css/admin.css" />
		<link rel="stylesheet" href="<%=basePath%>/resources/assets/css/page/typography.css" />
		<link rel="stylesheet" href="<%=basePath%>/resources/assets/css/page/form.css" />
	</head>
	<body data-type="widgets">
	
		<!-- Begin page -->
		<%-- <header>
            <!-- logo -->
            <!-- 右侧内容 -->
                <!-- 侧边切换 -->
                <!-- 搜索 -->
                <!-- 其它功能-->
                <div class="am-fr tpl-header-navbar">
                    <ul>
                        <!-- 欢迎语 -->
                        <li class="am-text-sm tpl-header-navbar-welcome">
                            <a href="javascript:;">欢迎你, <span>${users.realName}</span> </a>
                        </li>

                        <!-- 新邮件 -->

                        <!-- 新提示 -->

                        <!-- 退出 -->
                        <li class="am-text-sm">
                            <a href="javascript:;" id="logout">
                                <span class="am-icon-sign-out"></span> 退出
                            </a>
                        </li>
                    </ul>
                </div>
        </header> --%>
		<!-- end page -->
		
		
		<div class="admin">
			<!--<div class="am-g">-->
		<!-- ========== Left Sidebar Start ========== -->
		<!--<div class="left side-menu am-hide-sm-only am-u-md-1 am-padding-0">
			<div class="slimScrollDiv" style="position: relative; overflow: hidden; width: auto; height: 548px;">
				<div class="sidebar-inner slimscrollleft" style="overflow: hidden; width: auto; height: 548px;">-->
                  <!-- sidebar start -->
				 
				  <!-- sidebar end -->
    
				<!--</div>
			</div>
		</div>-->
		<!-- ========== Left Sidebar end ========== -->
		
		
		
	<!--	<div class="am-g">-->
		<!-- ============================================================== -->
		<!-- Start right Content here -->
		<div class="content-page">
			<!-- Start content -->
			<div class="content">
				<div class="am-g">
					<!-- Row start -->
						<div class="am-u-sm-12">
							<div class="card-box">
								
								
								<h4 class="header-title m-t-0 m-b-30">个人信息</h4>
								
								<div class="am-g">
									<div class="am-u-md-6">
										<form class="am-form am-text-sm" >
											<div class="am-form-group">
												<div class="am-g">
												  <label class="am-u-md-2 am-md-text-right am-padding-left-0" for="doc-ipt-text-1">用户名</label>
												  <input class="am-u-md-10 form-control"  id="doc-ipt-text-1" placeholder="" value="${users.userName}" disabled>
											  </div>
											</div>
											
											<div class="am-form-group">
												<div class="am-g">
												  <label class="am-u-md-2 am-md-text-right am-padding-left-0" for="doc-ipt-email-1">姓名</label>
												  <input class="am-u-md-10 form-control"  id="doc-ipt-email-1"  value="${users.realName}" disabled>
												</div>
											</div>
											
											<div class="am-form-group">
												<div class="am-g">
												  <label class="am-u-md-2 am-md-text-right am-padding-left-0" for="doc-ipt-email-1">性别</label>
												  <span id = "sex">
											      </span>											
												</div>
											</div>
											
											<div class="am-form-group">
												<div class="am-g">
												  <label class="am-u-md-2 am-md-text-right am-padding-left-0" for="doc-ipt-phd-1">公司</label>
												  <input class="am-u-md-10 form-control"  id="doc-ipt-phd-1" value="${users.company}" disabled>
												</div>
											</div>
											<div class="am-form-group">
												<div class="am-g">
												  <label class="am-u-md-2 am-md-text-right am-padding-left-0" for="doc-ipt-phd-1">电话</label>
												  <input class="am-u-md-10 form-control"  id="doc-ipt-phd-1" value="${users.phone}" disabled>
												</div>
											</div>
											<div class="am-form-group">
												<div class="am-g">
												  <label class="am-u-md-2 am-md-text-right am-padding-left-0" for="doc-ipt-phd-1">身份证号</label>
												  <input class="am-u-md-10 form-control"  value="${users.idCard}" disabled>
												</div>
											</div>
											
										</form>
									</div>
									
									<div class="am-u-md-6">
										<form class="am-form am-text-sm" >
											<div class="am-form-group">
												<div class="am-g">
												  <label class="am-u-md-2 am-md-text-right am-padding-left-0" for="doc-ipt-phd-1">航班号</label>
												  <input class="am-u-md-10 form-control"  value="${users.traffic}" disabled>

												</div>
											</div>
										
											<div class="am-form-group">
												<div class="am-g">
												  <label class="am-u-md-2 am-md-text-right am-padding-left-0" for="doc-ipt-text-1">出发时间</label>
												  <input class="am-u-md-10 form-control"  value="${users.departureTime}" disabled>
											  </div>
											</div>
											
											<div class="am-form-group">
												<div class="am-g">
												  <label class="am-u-md-2 am-md-text-right am-padding-left-0" for="doc-ipt-email-1">到站时间</label>
												  <input class="am-u-md-10 form-control"   value="${users.arrivalTime}" disabled>
												</div>
											</div>
											
											<div class="am-form-group">
												<div class="am-g">
												  <label class="am-u-md-2 am-md-text-right am-padding-left-0" for="doc-ipt-pwd-1">离开日期</label>
												  <input  class="am-u-md-10 form-control"  value="${users.leaveTime}" disabled>
												</div>
											</div>
											<%-- <div class="am-form-group">
												<div class="am-g">
												  <label class="am-u-md-2 am-md-text-right am-padding-left-0" for="doc-ipt-pwd-1">是否是管理员</label>
												  <input  class="am-u-md-10 form-control"  value="${users.leaveTime}" disabled>
												</div>
											</div>
											<div class="am-form-group">
												<div class="am-g">
												  <label class="am-u-md-2 am-md-text-right am-padding-left-0" for="doc-ipt-pwd-1">是否安排住宿</label>
												  <input  class="am-u-md-10 form-control"  value="${users.leaveTime}" disabled>
												</div>
											</div> --%>
										</form>
									</div>
									<center><button type="button" class="am-btn am-btn-primary am-round"  onclick="javascript:history.back(-1);">返回</button></center>
								</div>
							</div>
						</div>
					<!-- Row end -->
				</div>
			
			
			<!-- row start -->
		
			<!-- row end -->
			
			
			<!-- row start -->
			
			<!-- row end -->
			
			</div>
		</div>
		<!-- end right Content here -->
		<!--</div>-->
		</div>
		</div>
		
		<!-- navbar -->
		
		<script type="text/javascript" src="<%=basePath%>/resources/assets/js/jquery-2.1.0.js" ></script>
		<script type="text/javascript" src="<%=basePath%>/resources/assets/js/amazeui.min.js"></script>
		<script type="text/javascript" src="<%=basePath%>/resources/assets/js/app.js" ></script>
		<script type="text/javascript" src="<%=basePath%>/resources/assets/js/blockUI.js" ></script>
		<script type="text/javascript">
			var sexValue = "${users.sex}";
			var html="<label class='am-radio-inline'>";
			if(sexValue=="1"){
				html+="<input type='radio'  name='docVlGender' checked disabled> 男  </label>  <label class='am-radio-inline'><input type='radio' name='docVlGender' disabled> 女</label>";
			}else{
				html+="<input type='radio'  name='docVlGender' disabled> 男  </label>  <label class='am-radio-inline'><input type='radio' name='docVlGender' checked disabled> 女</label>";
				
			}
	        $("#sex").html(html);
	      
	     
	      
			
			
		
		</script>
	</body>
	
</html>

